package com.yunxin.core.utils.infra.common.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-05-27
 */
@Getter
public enum OccupationEnum implements IBaseEnum<Integer> {
    /**
     * 职业 0.无要求 1.民企员工 2.外企员工 3.企业主 4.个体户 5.公务员 6.事业单位员工 7.国企员工 8.自由职业 9.其他
     */
    NO_REQUIRED(0, "无要求",false),
    PRIVATE_ENTERPRISE_EMPLOYEE(1, "民企员工",false),
    FOREIGN_ENTERPRISE_EMPLOYEE(2, "外企员工",false),
    BUSINESS_OWNER(3, "企业主",false),
    INDIVIDUAL_BUSINESS(4, "个体户",false),
    CIVIL_SERVANT(5, "公务员",false),
    PUBLIC_INSTITUTION_EMPLOYEE(6, "事业单位员工",false),
    STATE_OWNED_ENTERPRISE_EMPLOYEE(7, "国企员工",true),
    FREELANCING(8, "自由职业",false),
    OTHER(9, "其他",false);

    private final Integer value;

    private final String label;

    private final Boolean excellent;

    OccupationEnum(Integer value, String label,Boolean excellent) {
        this.value = value;
        this.label = label;
        this.excellent = excellent;
    }
}
